Code Generation by Example Using Symbolic Machine Learning
نویسندگان
چکیده
Abstract Code generation is a key technique for model-driven engineering (MDE) approaches of software construction. enables the synthesis applications in executable programming languages from high-level specifications UML or domain-specific language. Specialised code and tools have been defined; however, task manually constructing generator remains substantial undertaking, requiring high degree expertise both source target languages, In this paper, we apply novel symbolic machine learning techniques tree-to-tree mappings syntax trees, to automate development generators source–target example pairs. We evaluate approach on several tasks, compare other construction approaches. The results show that can effectively examples, with relatively small manual effort required compared existing also identified it be adapted learn abstraction translation algorithms. paper demonstrates applied assist manipulating trees.
منابع مشابه
Contextual Code Completion Using Machine Learning
Large projects such as kernels, drivers and libraries follow a code style, and have recurring patterns. In this project, we explore learning based code recommendation, to use the project context and give meaningful suggestions. Using word vectors to model code tokens, and neural network based learning techniques, we are able to capture interesting patterns, and predict code that that cannot be ...
متن کاملTarget code generation from G-machine code
The G-machine is a stack machine for von-Neumann-like execution of lazy functional languages, using graph reduction. This paper describes how target code generation from G-machine code is performed in a compiler for Lazy ML. We brieey review the G-machine, and the compiler phases preceding the target code generation. Two diierent target code generation methods are described, as well as essentia...
متن کاملMachine Learning Techniques for Code Generation and Optimization
The growing complexity of modern processors has made the generation of highly efficient code increasingly difficult. Manual code generation is very time consuming, but it is often the only choice since the code generated by today’s compiler technology often has much lower performance than the best hand-tuned codes. A promising code generation strategy, implemented by systems like ATLAS, FFTW, a...
متن کاملSearch Based Code Generation for Machine Learning Programs
Machine Learning (ML) has revamped every domain of life as it provides powerful tools to build complex systems that learn and improve from experience and data. Our key insight is that to solve a machine learning problem, data scientists do not invent a new algorithm each time, but evaluate a range of existing models with different configurations and select the best one. This task is laborious, ...
متن کاملLearning Racquetball by Constrained Example Generation
A model of learning in a highly active and competitive environment is presented here. This paper posits that learning, under these conditions, can be characterized as accommodating examples produced by the Constrained Example Generation (CEG) process. The role of the"CEG process in the LRCEG system is demonstrated by a typical learning scenario. I INTRODUCTION This paper Introduces an emerging ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: SN computer science
سال: 2023
ISSN: ['2661-8907', '2662-995X']
DOI: https://doi.org/10.1007/s42979-022-01573-4